package com.doufeng.dispatch.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("df_dispatch_settlement")
public class Settlement {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long taskId;
    private Long workerId;
    private Integer commission;
    private Integer status;   // 0待结算 1已结算
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
